package com.vfd.media.video {
	import flash.net.NetStream;
	
	/**
	* ...
	* @author Default
	*/
	public class PlayBackControl {
		private var _netStream:NetStream
		public function PlayBackControl(ns:NetStream):void {
			this._netStream = ns;
		}
		public function play():void {
			this._netStream.play(); 
		}
		public function pause():void {
			this._netStream.pause();
		}
		public function resume():void {
			this._netStream.resume();
		}
		public function fastForward(amount:Number) {
			this._netStream.seek(this._netStream.time + amount); 
		}
		public function rewind(amount:Number) {
			this._netStream.seek(this._netStream.time - amount);
		}
		
	}
	
}